
<div id="content">
    <div id="title_content">Thông tin liên hệ</div>
        
        <?php if ($this->session->flashdata('error')): ?>
<div class="affiche_erreur">
	<?php echo $this->session->flashdata('error'); ?>
</div>
<?php endif; ?>
       <form method="POST" action="<?php echo site_url('admin_contact/contact_information')?>">
 	<table class="form_content" width="100%">
             <tr>
                <td>Email <span style="color:red">*</span></td><td>
                <?php if (form_error('email')!=""){?> <div class="form_error"><?php echo generate_pure_text(form_error('email'), '<p>', '</p>'); ?></div> <?php } ?>
                    <input type="text" class="form_input" name="email" size="35" maxlength="150" value="<?php echo set_value('email', $contact_infor->email); ?>" />
                </td>
             </tr>
             <tr>
                <td>Địa chỉ <span style="color:red">*</span></td><td>
                <?php if (form_error('address')!=""){?> <div class="form_error"><?php echo generate_pure_text(form_error('address'), '<p>', '</p>'); ?></div> <?php } ?>
                    <input type="text" class="form_input" name="address" size="35" maxlength="150" value="<?php echo set_value('address', $contact_infor->address); ?>" />
                </td>
             </tr>
             <tr>
                <td>Số điện thoại <span style="color:red">*</span></td><td>
                <?php if (form_error('telephone_number')!=""){?> <div class="form_error"><?php echo generate_pure_text(form_error('telephone_number'), '<p>', '</p>'); ?></div> <?php } ?>
                    <input type="text" class="form_input" name="telephone_number" size="35" maxlength="25" value="<?php echo set_value('telephone_number', $contact_infor->phone_number); ?>" />
                </td>
             </tr>
              <tr>
                <td>Giờ mở cửa <span style="color:red">*</span></td><td>
                <?php if (form_error('open_time')!=""){?> <div class="form_error"><?php echo generate_pure_text(form_error('open_time'), '<p>', '</p>'); ?></div> <?php } ?>
                    <input type="text" class="form_input" name="open_time" size="35" maxlength="50" value="<?php echo set_value('open_time', $contact_infor->open_time); ?>" />
                </td>
             </tr>
             
            <tr>
                <td></td><td>
                 <input type="submit" name="submit" class="submit" value="Sửa"/>

                 </td>
            </tr>
        </table>
        </form>
	</div>
<!--END content-->
